Skip to content

Conversation

giladreti
Copy link
Contributor

Previously, preexec_fn was mistakengly run is gdbserver's context. Run it inside the debuggee instead to allow run/debug workflows.

Previously, preexec_fn was mistakengly run is gdbserver's context.
Run it inside the debuggee instead to allow run/debug workflows.
@giladreti giladreti changed the title support preexec_fn in debug() support preexec_fn in debug() Oct 2, 2025
Copy link
Member

@peace-maker peace-maker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, looks good.

@peace-maker
Copy link
Member

The process tube doesn't support the preexec_args yet. That might be a useful addition now to truly have a seamlesss run/debug switch. But lets do that separately.

@giladreti
Copy link
Contributor Author

Fixed in #2641.

@peace-maker peace-maker merged commit 49964f6 into Gallopsled:dev Oct 22, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants